const runtime.pagesPerSpanRoot
7 uses
runtime (current package)
malloc.go#L419: if pagesPerArena%pagesPerSpanRoot != 0 {
malloc.go#L420: print("pagesPerArena (", pagesPerArena, ") is not divisible by pagesPerSpanRoot (", pagesPerSpanRoot, ")\n")
mgcmark.go#L51: pagesPerSpanRoot = 512
mgcmark.go#L95: work.nSpanRoots = len(mheap_.markArenas) * (pagesPerArena / pagesPerSpanRoot)
mgcmark.go#L343: ai := mheap_.markArenas[shard/(pagesPerArena/pagesPerSpanRoot)]
mgcmark.go#L345: arenaPage := uint(uintptr(shard) * pagesPerSpanRoot % pagesPerArena)
mgcmark.go#L349: specialsbits = specialsbits[:pagesPerSpanRoot/8]
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)